package com.ruoyi.project.loan.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户扩展信息对象 user_auth
 *
 * @author ruoyi
 * @date 2025-11-11
 */
public class UserAuth extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long authId;

    /**
     * 关联用户ID
     */
    @Excel(name = "关联用户ID" )
    private Long userId;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名" )
    private String realName;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号" )
    private String idCard;

    /**
     * 身份证正面照
     */
    @Excel(name = "身份证正面照" )
    private String idCardFront;

    /**
     * 身份证反面照
     */
    @Excel(name = "身份证反面照" )
    private String idCardBack;

    /**
     * 银行账号
     */
    @Excel(name = "银行账号" )
    private String bankAccount;

    /**
     * 开户银行
     */
    @Excel(name = "开户银行" )
    private String bankName;

    /**
     * 开户支行
     */
    @Excel(name = "开户支行" )
    private String bankBranch;

    /**
     * 紧急联系人
     */
    @Excel(name = "紧急联系人" )
    private String emergencyContact;

    /**
     * 紧急联系电话
     */
    @Excel(name = "紧急联系电话" )
    private String emergencyPhone;

    /**
     * 居住地址
     */
    @Excel(name = "居住地址" )
    private String residentialAddress;

    /**
     * 户籍地址
     */
    @Excel(name = "户籍地址" )
    private String domicileAddress;

    /**
     * 工作单位
     */
    @Excel(name = "工作单位" )
    private String companyName;

    /**
     * 职位
     */
    @Excel(name = "职位" )
    private String jobPosition;

    /**
     * 工作年限
     */
    @Excel(name = "工作年限" )
    private Long workYears;

    /**
     * 安全问题1
     */
    @Excel(name = "安全问题1" )
    private String securityQuestion1;

    /**
     * 答案1
     */
    @Excel(name = "答案1" )
    private String securityAnswer1;

    /**
     * 安全问题2
     */
    @Excel(name = "安全问题2" )
    private String securityQuestion2;

    /**
     * 答案2
     */
    @Excel(name = "答案2" )
    private String securityAnswer2;

    public Long getAuthId() {
        return authId;
    }

    public void setAuthId(Long authId) {
        this.authId = authId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCardFront() {
        return idCardFront;
    }

    public void setIdCardFront(String idCardFront) {
        this.idCardFront = idCardFront;
    }

    public String getIdCardBack() {
        return idCardBack;
    }

    public void setIdCardBack(String idCardBack) {
        this.idCardBack = idCardBack;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankBranch() {
        return bankBranch;
    }

    public void setBankBranch(String bankBranch) {
        this.bankBranch = bankBranch;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }

    public String getResidentialAddress() {
        return residentialAddress;
    }

    public void setResidentialAddress(String residentialAddress) {
        this.residentialAddress = residentialAddress;
    }

    public String getDomicileAddress() {
        return domicileAddress;
    }

    public void setDomicileAddress(String domicileAddress) {
        this.domicileAddress = domicileAddress;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public Long getWorkYears() {
        return workYears;
    }

    public void setWorkYears(Long workYears) {
        this.workYears = workYears;
    }

    public String getSecurityQuestion1() {
        return securityQuestion1;
    }

    public void setSecurityQuestion1(String securityQuestion1) {
        this.securityQuestion1 = securityQuestion1;
    }

    public String getSecurityAnswer1() {
        return securityAnswer1;
    }

    public void setSecurityAnswer1(String securityAnswer1) {
        this.securityAnswer1 = securityAnswer1;
    }

    public String getSecurityQuestion2() {
        return securityQuestion2;
    }

    public void setSecurityQuestion2(String securityQuestion2) {
        this.securityQuestion2 = securityQuestion2;
    }

    public String getSecurityAnswer2() {
        return securityAnswer2;
    }

    public void setSecurityAnswer2(String securityAnswer2) {
        this.securityAnswer2 = securityAnswer2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("authId", getAuthId())
                .append("userId", getUserId())
                .append("realName", getRealName())
                .append("idCard", getIdCard())
                .append("idCardFront", getIdCardFront())
                .append("idCardBack", getIdCardBack())
                .append("bankAccount", getBankAccount())
                .append("bankName", getBankName())
                .append("bankBranch", getBankBranch())
                .append("emergencyContact", getEmergencyContact())
                .append("emergencyPhone", getEmergencyPhone())
                .append("residentialAddress", getResidentialAddress())
                .append("domicileAddress", getDomicileAddress())
                .append("companyName", getCompanyName())
                .append("jobPosition", getJobPosition())
                .append("workYears", getWorkYears())
                .append("securityQuestion1", getSecurityQuestion1())
                .append("securityAnswer1", getSecurityAnswer1())
                .append("securityQuestion2", getSecurityQuestion2())
                .append("securityAnswer2", getSecurityAnswer2())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
